package com.sz.stock.model;

import java.math.BigDecimal;

public class Bankcard {
    private Integer bankId;

    private Integer bankUserid;

    private String bankCardnumber;

    private String bankCardname;

    private BigDecimal bankCardbalance;

    private String bankCardstate;

    public Bankcard(Integer bankId, Integer bankUserid, String bankCardnumber, String bankCardname, BigDecimal bankCardbalance, String bankCardstate) {
        this.bankId = bankId;
        this.bankUserid = bankUserid;
        this.bankCardnumber = bankCardnumber;
        this.bankCardname = bankCardname;
        this.bankCardbalance = bankCardbalance;
        this.bankCardstate = bankCardstate;
    }

    public Bankcard() {
        super();
    }

    public Integer getBankId() {
        return bankId;
    }

    public void setBankId(Integer bankId) {
        this.bankId = bankId;
    }

    public Integer getBankUserid() {
        return bankUserid;
    }

    public void setBankUserid(Integer bankUserid) {
        this.bankUserid = bankUserid;
    }

    public String getBankCardnumber() {
        return bankCardnumber;
    }

    public void setBankCardnumber(String bankCardnumber) {
        this.bankCardnumber = bankCardnumber == null ? null : bankCardnumber.trim();
    }

    public String getBankCardname() {
        return bankCardname;
    }

    public void setBankCardname(String bankCardname) {
        this.bankCardname = bankCardname == null ? null : bankCardname.trim();
    }

    public BigDecimal getBankCardbalance() {
        return bankCardbalance;
    }

    public void setBankCardbalance(BigDecimal bankCardbalance) {
        this.bankCardbalance = bankCardbalance;
    }

    public String getBankCardstate() {
        return bankCardstate;
    }

    public void setBankCardstate(String bankCardstate) {
        this.bankCardstate = bankCardstate == null ? null : bankCardstate.trim();
    }

    @Override
    public String toString() {
        return "Bankcard{" +
                "bankId=" + bankId +
                ", bankUserid=" + bankUserid +
                ", bankCardnumber='" + bankCardnumber + '\'' +
                ", bankCardname='" + bankCardname + '\'' +
                ", bankCardbalance=" + bankCardbalance +
                ", bankCardstate='" + bankCardstate + '\'' +
                '}';
    }
}